{"type": "func", "start": 4296455052, "end": 4296455216, "name": "InfoAlertButton::init", "pseudocode": "// \n// InfoAlertButton::init from 0x10016b38c to 0x10016b430 (164 bytes)\n// \n// 1 xrefs:\n// > InfoAlertButton::create @ 0x10016b2e0\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 *v8; // x22\n  _BOOL8 v9; // x22\n  cocos2d::SEL_MenuHandler v11; // 0:x4.16\n\n  v8 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_infoIcon_001.png\");\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))v8->setScale)(v8, a4);\n  v11.ptr = nullptr;\n  v11.adj = 0;\n  v9 = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)a1, v8, nullptr, nullptr, v11);\n  if ( v9 )\n  {\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  }\n  return v9;\n}", "assembly": "; \n; InfoAlertButton::init from 0x10016b38c to 0x10016b430 (164 bytes)\n; \n; 1 xrefs:\n; > InfoAlertButton::create @ 0x10016b2e0\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\nSTP             D9, D8, [SP,#-0x10+var_30]!                            ; +0x0, 0x10016b38c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10016b390\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10016b394\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10016b398\nADD             X29, SP, #0x30                                         ; +0x10, 0x10016b39c\nFMOV            S8, S0                                                 ; +0x14, 0x10016b3a0\nMOV             X19, X2                                                ; +0x18, 0x10016b3a4\nMOV             X21, X1                                                ; +0x1c, 0x10016b3a8\nMOV             X20, X0                                                ; +0x20, 0x10016b3ac\nADRL            X0, aGjInfoicon001P; \"GJ_infoIcon_001.png\"             ; +0x24, 0x10016b3b0\nBL              cocos2d__CCSprite__createWithSpriteFrameName           ; +0x2c, 0x10016b3b8\nMOV             X22, X0                                                ; +0x30, 0x10016b3bc\nLDR             X8, [X0]                                               ; +0x34, 0x10016b3c0\nLDR             X8, [X8,#0xA0]                                         ; +0x38, 0x10016b3c4\nFMOV            S0, S8                                                 ; +0x3c, 0x10016b3c8\nBLR             X8                                                     ; +0x40, 0x10016b3cc\nMOV             X0, X20                                                ; +0x44, 0x10016b3d0\nMOV             X1, X22                                                ; +0x48, 0x10016b3d4\nMOV             X2, #0                                                 ; +0x4c, 0x10016b3d8\nMOV             X3, #0                                                 ; +0x50, 0x10016b3dc\nMOV             X4, #0                                                 ; +0x54, 0x10016b3e0\nMOV             X5, #0                                                 ; +0x58, 0x10016b3e4\nBL              CCMenuItemSpriteExtra__init                            ; +0x5c, 0x10016b3e8\nMOV             X22, X0                                                ; +0x60, 0x10016b3ec\nCBZ             W0, loc_10016B418                                      ; +0x64, 0x10016b3f0\nFMOV            S0, #1.5                                               ; +0x68, 0x10016b3f4\nMOV             X0, X20                                                ; +0x6c, 0x10016b3f8\nBL              CCMenuItemSpriteExtra__setSizeMult                     ; +0x70, 0x10016b3fc\nADD             X0, X20, #0x1F8; this                                  ; +0x74, 0x10016b400\nMOV             X1, X21; __str                                         ; +0x78, 0x10016b404\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x7c, 0x10016b408\nADD             X0, X20, #0x210; this                                  ; +0x80, 0x10016b40c\nMOV             X1, X19; __str                                         ; +0x84, 0x10016b410\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x88, 0x10016b414\nMOV             X0, X22                                                ; +0x8c, 0x10016b418\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x90, 0x10016b41c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x94, 0x10016b420\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x98, 0x10016b424\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0x9c, 0x10016b428\nRET                                                                    ; +0xa0, 0x10016b42c", "xrefs": ["InfoAlertButton::create @ 0x10016b2e0"], "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"}