{"type": "func", "start": 4297966328, "end": 4297966508, "name": "GJRobotSprite::create", "pseudocode": "// \n// GJRobotSprite::create from 0x1002dc2f8 to 0x1002dc3ac (180 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::createRobot @ 0x1002b5598\n// > SimplePlayer::createRobotSprite @ 0x10039ff98\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:45 +0000\n// \n\nchar *__fastcall GJRobotSprite::create(__int64 a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x310u);\n  cocos2d::CCSprite::CCSprite((__int64)v2);\n  *((_DWORD *)v2 + 170) = 0;\n  *(_OWORD *)(v2 + 648) = 0u;\n  *(_OWORD *)(v2 + 664) = 0u;\n  *(_OWORD *)(v2 + 616) = 0u;\n  *(_OWORD *)(v2 + 632) = 0u;\n  *(_OWORD *)(v2 + 600) = 0u;\n  *((_OWORD *)v2 + 43) = 0u;\n  *((_OWORD *)v2 + 44) = 0u;\n  *(_QWORD *)v2 = off_100921C98;\n  *((_QWORD *)v2 + 40) = off_100922198;\n  *((_QWORD *)v2 + 43) = off_100922218;\n  v2[728] = 0;\n  *(_DWORD *)(v2 + 729) = -1;\n  *(_WORD *)(v2 + 733) = -1;\n  *((_QWORD *)v2 + 97) = 0;\n  *((_OWORD *)v2 + 46) = 0u;\n  *((_OWORD *)v2 + 47) = 0u;\n  if ( (unsigned int)GJRobotSprite::init_1(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJRobotSprite::create from 0x1002dc2f8 to 0x1002dc3ac (180 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::createRobot @ 0x1002b5598\n; > SimplePlayer::createRobotSprite @ 0x10039ff98\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:45 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002dc2f8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002dc2fc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002dc300\nMOV             X20, X0                                                ; +0xc, 0x1002dc304\nMOV             W0, #0x310; __sz                                       ; +0x10, 0x1002dc308\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002dc30c\nMOV             X19, X0                                                ; +0x18, 0x1002dc310\nBL              cocos2d__CCSprite__CCSprite                            ; +0x1c, 0x1002dc314\nADD             X8, X19, #0x258                                        ; +0x20, 0x1002dc318\nSTR             WZR, [X19,#0x2A8]                                      ; +0x24, 0x1002dc31c\nMOVI            V0.16B, #0                                             ; +0x28, 0x1002dc320\nSTP             Q0, Q0, [X8,#0x30]                                     ; +0x2c, 0x1002dc324\nSTP             Q0, Q0, [X8,#0x10]                                     ; +0x30, 0x1002dc328\nSTR             Q0, [X8]                                               ; +0x34, 0x1002dc32c\nSTP             Q0, Q0, [X19,#0x2B0]                                   ; +0x38, 0x1002dc330\nADRL            X8, off_100921C98                                      ; +0x3c, 0x1002dc334\nSTR             X8, [X19]                                              ; +0x44, 0x1002dc33c\nADD             X9, X8, #(off_100922198 - 0x100921C98)                 ; +0x48, 0x1002dc340\nSTR             X9, [X19,#0x140]                                       ; +0x4c, 0x1002dc344\nADD             X8, X8, #(off_100922218 - 0x100921C98)                 ; +0x50, 0x1002dc348\nSTR             X8, [X19,#0x158]                                       ; +0x54, 0x1002dc34c\nSTRB            WZR, [X19,#0x2D8]                                      ; +0x58, 0x1002dc350\nADD             X8, X19, #0x2D9                                        ; +0x5c, 0x1002dc354\nMOV             W9, #0xFFFFFFFF                                        ; +0x60, 0x1002dc358\nSTR             W9, [X8]                                               ; +0x64, 0x1002dc35c\nSTRH            W9, [X8,#4]                                            ; +0x68, 0x1002dc360\nSTR             XZR, [X19,#0x308]                                      ; +0x6c, 0x1002dc364\nSTP             Q0, Q0, [X19,#0x2E0]                                   ; +0x70, 0x1002dc368\nMOV             X0, X19                                                ; +0x74, 0x1002dc36c\nMOV             X1, X20                                                ; +0x78, 0x1002dc370\nBL              GJRobotSprite__init_1                                  ; +0x7c, 0x1002dc374\nCBZ             W0, loc_1002DC388                                      ; +0x80, 0x1002dc378\nMOV             X0, X19                                                ; +0x84, 0x1002dc37c\nBL              cocos2d__CCObject__autorelease                         ; +0x88, 0x1002dc380\nB               loc_1002DC39C                                          ; +0x8c, 0x1002dc384\nLDR             X8, [X19]                                              ; +0x90, 0x1002dc388\nLDR             X8, [X8,#0x10]                                         ; +0x94, 0x1002dc38c\nMOV             X0, X19                                                ; +0x98, 0x1002dc390\nBLR             X8                                                     ; +0x9c, 0x1002dc394\nMOV             X19, #0                                                ; +0xa0, 0x1002dc398\nMOV             X0, X19                                                ; +0xa4, 0x1002dc39c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa8, 0x1002dc3a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xac, 0x1002dc3a4\nRET                                                                    ; +0xb0, 0x1002dc3a8", "xrefs": ["PlayerObject::createRobot @ 0x1002b5598", "SimplePlayer::createRobotSprite @ 0x10039ff98"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}