{"type": "func", "start": 6302204, "end": 6302422, "name": "ConfigureValuePopup::addInfoAlertButton", "pseudocode": "// \n// ConfigureValuePopup::addInfoAlertButton from 0x6029fc to 0x602ad6 (218 bytes)\n// \n// 1 xrefs:\n// > SetGroupIDLayer::onGroupIDOptions @ 0x63ad62\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:42 +0000\n// \n\nint __fastcall ConfigureValuePopup::addInfoAlertButton(cocos2d::CCDirector *a1, int a2, int a3)\n{\n  _DWORD *v6; // r6\n  const cocos2d::CCPoint *v7; // r8\n  int (__fastcall *v8)(_DWORD *, _BYTE *); // r9\n  float v10[2]; // [sp+4h] [bp-38h] BYREF\n  _BYTE v11[8]; // [sp+Ch] [bp-30h] BYREF\n  _BYTE v12[8]; // [sp+14h] [bp-28h] BYREF\n  int v13[3]; // [sp+1Ch] [bp-20h] BYREF\n  int v14[3]; // [sp+28h] [bp-14h] BYREF\n\n  cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10);\n  std::string::basic_string(v13, a2);\n  std::string::basic_string(v14, a3);\n  v6 = (_DWORD *)InfoAlertButton::create((char *)v13, (int)v14, 1061997773);\n  std::string::~string((int)v14);\n  std::string::~string((int)v13);\n  v6[104] = 1063675494;\n  (*(void (__fastcall **)(_DWORD *, _DWORD *))(**((_DWORD **)a1 + 111) + 228))(*((_DWORD **)a1 + 111), v6);\n  v7 = *((const cocos2d::CCPoint **)a1 + 111);\n  v8 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v6 + 92);\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::CCPoint *)v11,\n    (float)((float)(v10[0] * 0.5) + 130.0) - 17.0,\n    (float)((float)(v10[1] * 0.5) + 100.0) - 17.0);\n  cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, v7);\n  return v8(v6, v12);\n}", "assembly": "; \n; ConfigureValuePopup::addInfoAlertButton from 0x6029fc to 0x602ad6 (218 bytes)\n; \n; 1 xrefs:\n; > SetGroupIDLayer::onGroupIDOptions @ 0x63ad62\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:42 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x6029fc\nSUB             SP, SP, #0x3C                                          ; +0x4, 0x602a00\nLDR             R7, =(__stack_chk_guard_ptr - 0x602A0E)                ; +0x6, 0x602a02\nMOV             R5, R1                                                 ; +0x8, 0x602a04\nMOV             R6, R2                                                 ; +0xa, 0x602a06\nMOV             R8, R0                                                 ; +0xc, 0x602a08\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x602a0a\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x602a0c\nADD             R4, SP, #0x3C+var_20                                   ; +0x12, 0x602a0e\nLDR             R3, [R7]                                               ; +0x14, 0x602a10\nSTR             R3, [SP,#0x3C+var_8]                                   ; +0x16, 0x602a12\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x602a14\nMOV             R1, R0                                                 ; +0x1c, 0x602a18\nADD             R0, SP, #0x3C+var_38; this                             ; +0x1e, 0x602a1a\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x20, 0x602a1c\nMOV             R1, R5                                                 ; +0x24, 0x602a20\nADD             R5, SP, #0x3C+var_14                                   ; +0x26, 0x602a22\nMOV             R0, R4                                                 ; +0x28, 0x602a24\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x2a, 0x602a26\nMOV             R1, R6                                                 ; +0x2e, 0x602a2a\nMOV             R0, R5                                                 ; +0x30, 0x602a2c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x32, 0x602a2e\nMOV             R0, R4                                                 ; +0x36, 0x602a32\nMOV             R1, R5                                                 ; +0x38, 0x602a34\nLDR             R2, =0x3F4CCCCD                                        ; +0x3a, 0x602a36\nBL              _ZN15InfoAlertButton6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_f; InfoAlertButton::create(std::string,std::string,float) ; +0x3c, 0x602a38\nMOV             R6, R0                                                 ; +0x40, 0x602a3c\nMOV             R0, R5                                                 ; +0x42, 0x602a3e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x44, 0x602a40\nMOV             R0, R4                                                 ; +0x48, 0x602a44\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x602a46\nLDR             R3, =0x3F666666                                        ; +0x4e, 0x602a4a\nMOV             R1, R6                                                 ; +0x50, 0x602a4c\nADD             R4, SP, #0x3C+var_30                                   ; +0x52, 0x602a4e\nADD             R5, SP, #0x3C+var_28                                   ; +0x54, 0x602a50\nSTR.W           R3, [R6,#0x1A0]                                        ; +0x56, 0x602a52\nLDR.W           R0, [R8,#0x1BC]                                        ; +0x5a, 0x602a56\nLDR             R3, [R0]                                               ; +0x5e, 0x602a5a\nLDR.W           R3, [R3,#0xE4]                                         ; +0x60, 0x602a5c\nBLX             R3                                                     ; +0x64, 0x602a60\nVMOV.F32        S12, #0.5                                              ; +0x66, 0x602a62\nVLDR            S15, [SP,#0x3C+var_38]                                 ; +0x6a, 0x602a66\nMOV             R0, R4; this                                           ; +0x6e, 0x602a6a\nLDR             R3, [R6]                                               ; +0x70, 0x602a6c\nLDR.W           R8, [R8,#0x1BC]                                        ; +0x72, 0x602a6e\nVLDR            S14, =130.0                                            ; +0x76, 0x602a72\nLDR.W           R9, [R3,#0x5C]                                         ; +0x7a, 0x602a76\nVLDR            S11, [SP,#0x3C+var_34]                                 ; +0x7e, 0x602a7a\nVMLA.F32        S14, S15, S12                                          ; +0x82, 0x602a7e\nVLDR            S15, =100.0                                            ; +0x86, 0x602a82\nVMLA.F32        S15, S11, S12                                          ; +0x8a, 0x602a86\nVMOV.F32        S13, #17.0                                             ; +0x8e, 0x602a8a\nVSUB.F32        S14, S14, S13                                          ; +0x92, 0x602a8e\nVSUB.F32        S15, S15, S13                                          ; +0x96, 0x602a92\nVMOV            R1, S14; float                                         ; +0x9a, 0x602a96\nVMOV            R2, S15; float                                         ; +0x9e, 0x602a9a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa2, 0x602a9e\nMOV             R2, R4                                                 ; +0xa6, 0x602aa2\nMOV             R0, R5; this                                           ; +0xa8, 0x602aa4\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0xaa, 0x602aa6\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xac, 0x602aa8\nMOV             R0, R6                                                 ; +0xb0, 0x602aac\nMOV             R1, R5                                                 ; +0xb2, 0x602aae\nBLX             R9                                                     ; +0xb4, 0x602ab0\nLDR             R2, [SP,#0x3C+var_8]                                   ; +0xb6, 0x602ab2\nLDR             R3, [R7]                                               ; +0xb8, 0x602ab4\nCMP             R2, R3                                                 ; +0xba, 0x602ab6\nBEQ             loc_602AD0                                             ; +0xbc, 0x602ab8\nBLX             __stack_chk_fail                                       ; +0xbe, 0x602aba\nMOV             R0, R5                                                 ; +0xc2, 0x602abe\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc4, 0x602ac0\nB               loc_602AC6                                             ; +0xc8, 0x602ac4\nMOV             R0, R4                                                 ; +0xca, 0x602ac6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xcc, 0x602ac8\nBL              __cxa_end_cleanup                                      ; +0xd0, 0x602acc\nADD             SP, SP, #0x3C ; '<'                                    ; +0xd4, 0x602ad0\nPOP.W           {R4-R9,PC}                                             ; +0xd6, 0x602ad2", "xrefs": ["SetGroupIDLayer::onGroupIDOptions @ 0x63ad62"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}