{"type": "func", "start": 4297323340, "end": 4297323444, "name": "GJRobotSprite::init_1", "pseudocode": "// \n// GJRobotSprite::init_1 from 0x10023f34c to 0x10023f3b4 (104 bytes)\n// \n// 1 xrefs:\n// > GJRobotSprite::create @ 0x10023f300\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// local variable allocation has failed, the output may be wrong!\nbool __fastcall GJRobotSprite::init_1(GJRobotSprite *a1, int a2)\n{\n  __int64 v2; // x19\n  char v4; // w19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)&a2;\n  a1->m_iconType = Robot;\n  sub_100009900(__p, \"Robot\");\n  v4 = GJRobotSprite::init(a1, v2, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  return v4;\n}", "assembly": "; \n; GJRobotSprite::init_1 from 0x10023f34c to 0x10023f3b4 (104 bytes)\n; \n; 1 xrefs:\n; > GJRobotSprite::create @ 0x10023f300\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10023f34c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10023f350\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10023f354\nADD             X29, SP, #0x30                                         ; +0xc, 0x10023f358\nMOV             X19, X1                                                ; +0x10, 0x10023f35c\nMOV             X20, X0                                                ; +0x14, 0x10023f360\nMOV             W8, #5                                                 ; +0x18, 0x10023f364\nSTR             W8, [X0,#0x2F8]                                        ; +0x1c, 0x10023f368\nADRL            X1, aRobot_1; \"Robot\"                                  ; +0x20, 0x10023f36c\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x10023f374\nBL              sub_100009900                                          ; +0x2c, 0x10023f378\nADD             X2, SP, #0x30+__p                                      ; +0x30, 0x10023f37c\nMOV             X0, X20                                                ; +0x34, 0x10023f380\nMOV             X1, X19                                                ; +0x38, 0x10023f384\nBL              GJRobotSprite__init                                    ; +0x3c, 0x10023f388\nMOV             X19, X0                                                ; +0x40, 0x10023f38c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x44, 0x10023f390\nTBZ             W8, #0x1F, loc_10023F3A0                               ; +0x48, 0x10023f394\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x4c, 0x10023f398\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x10023f39c\nMOV             X0, X19                                                ; +0x54, 0x10023f3a0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x58, 0x10023f3a4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x5c, 0x10023f3a8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x60, 0x10023f3ac\nRET                                                                    ; +0x64, 0x10023f3b0", "xrefs": ["GJRobotSprite::create @ 0x10023f300"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}