{"type": "func", "start": 4300692784, "end": 4300692938, "name": "InfoAlertButton::init", "pseudocode": "// \n// InfoAlertButton::init from 0x100575d30 to 0x100575dca (154 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 InfoAlertButton::init(__int64 a1, const std::string *a2, const std::string *a3, float a4)\n{\n  cocos2d::CCSprite *v5; // r12\n  bool result; // al\n  bool v7; // r12\n\n  v5 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_infoIcon_001.png\");\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))v5->setScale)(v5, a4);\n  result = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)a1, v5, nullptr, nullptr, (cocos2d::SEL_MenuHandler)0);\n  if ( result )\n  {\n    v7 = result;\n    CCMenuItemSpriteExtra::setSizeMult((CCMenuItemSpriteExtra *)a1, 1.5);\n    std::string::operator=((std::string *)(a1 + 504), a2);\n    std::string::operator=((std::string *)(a1 + 528), a3);\n    return v7;\n  }\n  return result;\n}", "assembly": "; \n; InfoAlertButton::init from 0x100575d30 to 0x100575dca (154 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, 0x100575d30\nmov     rbp, rsp                                                       ; +0x1, 0x100575d31\npush    r15                                                            ; +0x4, 0x100575d34\npush    r14                                                            ; +0x6, 0x100575d36\npush    r12                                                            ; +0x8, 0x100575d38\npush    rbx                                                            ; +0xa, 0x100575d3a\nsub     rsp, 10h                                                       ; +0xb, 0x100575d3b\nmovss   [rbp+var_24], xmm0                                             ; +0xf, 0x100575d3f\nmov     rbx, rdx                                                       ; +0x14, 0x100575d44\nmov     r15, rsi                                                       ; +0x17, 0x100575d47\nmov     r14, rdi                                                       ; +0x1a, 0x100575d4a\nlea     rdi, aGjInfoicon001P; \"GJ_infoIcon_001.png\"                    ; +0x1d, 0x100575d4d\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x24, 0x100575d54\nmov     r12, rax                                                       ; +0x29, 0x100575d59\nmov     rax, [rax]                                                     ; +0x2c, 0x100575d5c\nmov     rdi, r12                                                       ; +0x2f, 0x100575d5f\nmovss   xmm0, [rbp+var_24]                                             ; +0x32, 0x100575d62\ncall    qword ptr [rax+0A0h]                                           ; +0x37, 0x100575d67\nmov     rdi, r14                                                       ; +0x3d, 0x100575d6d\nmov     rsi, r12                                                       ; +0x40, 0x100575d70\nxor     edx, edx                                                       ; +0x43, 0x100575d73\nxor     ecx, ecx                                                       ; +0x45, 0x100575d75\nxor     r8d, r8d                                                       ; +0x47, 0x100575d77\nxor     r9d, r9d                                                       ; +0x4a, 0x100575d7a\ncall    CCMenuItemSpriteExtra__init                                    ; +0x4d, 0x100575d7d\ntest    al, al                                                         ; +0x52, 0x100575d82\njz      short loc_100575DBD                                            ; +0x54, 0x100575d84\nmovss   xmm0, cs:dword_100815000                                       ; +0x56, 0x100575d86\nmov     rdi, r14                                                       ; +0x5e, 0x100575d8e\nmov     r12d, eax                                                      ; +0x61, 0x100575d91\ncall    CCMenuItemSpriteExtra__setSizeMult                             ; +0x64, 0x100575d94\nlea     rdi, [r14+1F8h]; this                                          ; +0x69, 0x100575d99\nmov     rsi, r15; __str                                                ; +0x70, 0x100575da0\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x73, 0x100575da3\nadd     r14, 210h                                                      ; +0x78, 0x100575da8\nmov     rdi, r14; this                                                 ; +0x7f, 0x100575daf\nmov     rsi, rbx; __str                                                ; +0x82, 0x100575db2\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x85, 0x100575db5\nmov     eax, r12d                                                      ; +0x8a, 0x100575dba\nadd     rsp, 10h                                                       ; +0x8d, 0x100575dbd\npop     rbx                                                            ; +0x91, 0x100575dc1\npop     r12                                                            ; +0x92, 0x100575dc2\npop     r14                                                            ; +0x94, 0x100575dc4\npop     r15                                                            ; +0x96, 0x100575dc6\npop     rbp                                                            ; +0x98, 0x100575dc8\nretn                                                                   ; +0x99, 0x100575dc9", "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"}