{"type": "func", "start": 4297327288, "end": 4297327392, "name": "GJSpiderSprite::init", "pseudocode": "// \n// GJSpiderSprite::init from 0x1002402b8 to 0x100240320 (104 bytes)\n// \n// 1 xrefs:\n// > GJSpiderSprite::create @ 0x10024026c\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\nbool __fastcall GJSpiderSprite::init(GJSpiderSprite *a1, int a2)\n{\n  bool v4; // w19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  a1->m_iconType = Spider;\n  sub_100009900(__p, \"Spider\");\n  v4 = GJRobotSprite::init((__int64)a1, a2, (const char *)__p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  return v4;\n}", "assembly": "; \n; GJSpiderSprite::init from 0x1002402b8 to 0x100240320 (104 bytes)\n; \n; 1 xrefs:\n; > GJSpiderSprite::create @ 0x10024026c\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, 0x1002402b8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002402bc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002402c0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002402c4\nMOV             X19, X1                                                ; +0x10, 0x1002402c8\nMOV             X20, X0                                                ; +0x14, 0x1002402cc\nMOV             W8, #6                                                 ; +0x18, 0x1002402d0\nSTR             W8, [X0,#0x2F8]                                        ; +0x1c, 0x1002402d4\nADRL            X1, aSpider_1; \"Spider\"                                ; +0x20, 0x1002402d8\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x1002402e0\nBL              sub_100009900                                          ; +0x2c, 0x1002402e4\nADD             X2, SP, #0x30+__p                                      ; +0x30, 0x1002402e8\nMOV             X0, X20                                                ; +0x34, 0x1002402ec\nMOV             X1, X19                                                ; +0x38, 0x1002402f0\nBL              GJRobotSprite__init                                    ; +0x3c, 0x1002402f4\nMOV             X19, X0                                                ; +0x40, 0x1002402f8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x44, 0x1002402fc\nTBZ             W8, #0x1F, loc_10024030C                               ; +0x48, 0x100240300\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x4c, 0x100240304\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x100240308\nMOV             X0, X19                                                ; +0x54, 0x10024030c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x58, 0x100240310\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x5c, 0x100240314\nADD             SP, SP, #0x40 ; '@'                                    ; +0x60, 0x100240318\nRET                                                                    ; +0x64, 0x10024031c", "xrefs": ["GJSpiderSprite::create @ 0x10024026c"], "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"}