{"type": "func", "start": 4298722496, "end": 4298722625, "name": "GauntletSprite::init", "pseudocode": "// \n// GauntletSprite::init from 0x100394cc0 to 0x100394d41 (129 bytes)\n// \n// 0 xrefs:\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  bool result; // al\n  bool v5; // r12\n  float v6[10]; // [rsp+8h] [rbp-28h] BYREF\n\n  result = cocos2d::CCNode::init(a1);\n  if ( result )\n  {\n    v5 = result;\n    a1->m_gauntletType = a2;\n    sub_10028CBF0(v6, 60.0, 60.0);\n    ((void (__fastcall *)(GauntletSprite *, float *))a1->setContentSize)(a1, v6);\n    ((void (__fastcall *)(GauntletSprite *))a1->removeAllChildren)(a1);\n    if ( a3 )\n      GauntletSprite::addLockedSprite(a1);\n    else\n      GauntletSprite::addNormalSprite(a1);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GauntletSprite::init from 0x100394cc0 to 0x100394d41 (129 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100394cc0\nmov     rbp, rsp                                                       ; +0x1, 0x100394cc1\npush    r15                                                            ; +0x4, 0x100394cc4\npush    r14                                                            ; +0x6, 0x100394cc6\npush    r12                                                            ; +0x8, 0x100394cc8\npush    rbx                                                            ; +0xa, 0x100394cca\nsub     rsp, 10h                                                       ; +0xb, 0x100394ccb\nmov     r14d, edx                                                      ; +0xf, 0x100394ccf\nmov     r15d, esi                                                      ; +0x12, 0x100394cd2\nmov     rbx, rdi                                                       ; +0x15, 0x100394cd5\ncall    cocos2d__CCNode__init                                          ; +0x18, 0x100394cd8\ntest    al, al                                                         ; +0x1d, 0x100394cdd\njz      short loc_100394D34                                            ; +0x1f, 0x100394cdf\nmov     r12d, eax                                                      ; +0x21, 0x100394ce1\nmov     [rbx+13Ch], r15d                                               ; +0x24, 0x100394ce4\nlea     r15, [rbp+var_28]                                              ; +0x2b, 0x100394ceb\nmovss   xmm0, cs:dword_100815028                                       ; +0x2f, 0x100394cef\nmov     rdi, r15                                                       ; +0x37, 0x100394cf7\nmovaps  xmm1, xmm0                                                     ; +0x3a, 0x100394cfa\ncall    sub_10028CBF0                                                  ; +0x3d, 0x100394cfd\nmov     rax, [rbx]                                                     ; +0x42, 0x100394d02\nmov     rdi, rbx                                                       ; +0x45, 0x100394d05\nmov     rsi, r15                                                       ; +0x48, 0x100394d08\ncall    qword ptr [rax+130h]                                           ; +0x4b, 0x100394d0b\nmov     rax, [rbx]                                                     ; +0x51, 0x100394d11\nmov     rdi, rbx                                                       ; +0x54, 0x100394d14\ncall    qword ptr [rax+230h]                                           ; +0x57, 0x100394d17\nmov     rdi, rbx                                                       ; +0x5d, 0x100394d1d\ntest    r14b, r14b                                                     ; +0x60, 0x100394d20\njz      short loc_100394D2C                                            ; +0x63, 0x100394d23\ncall    GauntletSprite__addLockedSprite                                ; +0x65, 0x100394d25\njmp     short loc_100394D31                                            ; +0x6a, 0x100394d2a\ncall    GauntletSprite__addNormalSprite                                ; +0x6c, 0x100394d2c\nmov     eax, r12d                                                      ; +0x71, 0x100394d31\nadd     rsp, 10h                                                       ; +0x74, 0x100394d34\npop     rbx                                                            ; +0x78, 0x100394d38\npop     r12                                                            ; +0x79, 0x100394d39\npop     r14                                                            ; +0x7b, 0x100394d3b\npop     r15                                                            ; +0x7d, 0x100394d3d\npop     rbp                                                            ; +0x7f, 0x100394d3f\nretn                                                                   ; +0x80, 0x100394d40", "xrefs": [], "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"}