{"type": "func", "start": 4297277160, "end": 4297277284, "name": "GauntletSprite::init", "pseudocode": "// \n// GauntletSprite::init from 0x100233ee8 to 0x100233f64 (124 bytes)\n// \n// 1 xrefs:\n// > GauntletSprite::create @ 0x100233a50\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 GauntletSprite::init(GauntletSprite *a1, GauntletType a2, bool a3)\n{\n  _BOOL4 v6; // w20\n  float v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v6 = cocos2d::CCNode::init(a1);\n  if ( v6 )\n  {\n    a1->m_gauntletType = a2;\n    sub_100022988(&v8, 60.0, 60.0);\n    ((void (__fastcall *)(GauntletSprite *, float *))a1->setContentSize)(a1, &v8);\n    GauntletSprite::toggleLockedSprite(a1, a3);\n  }\n  return v6;\n}", "assembly": "; \n; GauntletSprite::init from 0x100233ee8 to 0x100233f64 (124 bytes)\n; \n; 1 xrefs:\n; > GauntletSprite::create @ 0x100233a50\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, 0x100233ee8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100233eec\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100233ef0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100233ef4\nADD             X29, SP, #0x30                                         ; +0x10, 0x100233ef8\nMOV             X19, X2                                                ; +0x14, 0x100233efc\nMOV             X22, X1                                                ; +0x18, 0x100233f00\nMOV             X21, X0                                                ; +0x1c, 0x100233f04\nBL              cocos2d__CCNode__init                                  ; +0x20, 0x100233f08\nMOV             X20, X0                                                ; +0x24, 0x100233f0c\nCBZ             W0, loc_100233F4C                                      ; +0x28, 0x100233f10\nSTR             W22, [X21,#0x13C]                                      ; +0x2c, 0x100233f14\nMOV             W8, #0x42700000                                        ; +0x30, 0x100233f18\nFMOV            S0, W8                                                 ; +0x34, 0x100233f1c\nADD             X0, SP, #0x30+var_28                                   ; +0x38, 0x100233f20\nFMOV            S1, S0                                                 ; +0x3c, 0x100233f24\nBL              sub_100022988                                          ; +0x40, 0x100233f28\nLDR             X8, [X21]                                              ; +0x44, 0x100233f2c\nLDR             X8, [X8,#0x130]                                        ; +0x48, 0x100233f30\nADD             X1, SP, #0x30+var_28                                   ; +0x4c, 0x100233f34\nMOV             X0, X21                                                ; +0x50, 0x100233f38\nBLR             X8                                                     ; +0x54, 0x100233f3c\nMOV             X0, X21                                                ; +0x58, 0x100233f40\nMOV             X1, X19                                                ; +0x5c, 0x100233f44\nBL              GauntletSprite__toggleLockedSprite                     ; +0x60, 0x100233f48\nMOV             X0, X20                                                ; +0x64, 0x100233f4c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x100233f50\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x100233f54\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x70, 0x100233f58\nADD             SP, SP, #0x40 ; '@'                                    ; +0x74, 0x100233f5c\nRET                                                                    ; +0x78, 0x100233f60", "xrefs": ["GauntletSprite::create @ 0x100233a50"], "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"}