{"type": "func", "start": 5372696624, "end": 5372696838, "name": "InfoAlertButton::activate", "pseudocode": "// \n// InfoAlertButton::activate from 0x1403cd830 to 0x1403cd906 (214 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140784ea8\n// > <???> @ 0x140924638\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:31:33 +0000\n// \n\nvoid __fastcall InfoAlertButton::activate(__int64 a1)\n{\n  _QWORD *v2; // rdx\n  size_t v3; // r8\n  _QWORD *v4; // rdx\n  cocos2d::CCObject *v5; // rax\n  __int128 v6; // [rsp+50h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+60h] [rbp-18h]\n  __int64 v8; // [rsp+68h] [rbp-10h]\n\n  if ( *(_BYTE *)(a1 + 345) )\n  {\n    v2 = (_QWORD *)(a1 + 552);\n    if ( *(_QWORD *)(a1 + 576) > 0xFu )\n      v2 = (_QWORD *)*v2;\n    v7 = 0;\n    v6 = 0;\n    v8 = 0;\n    v3 = -1;\n    do\n      ++v3;\n    while ( *((_BYTE *)v2 + v3) );\n    sub_14003D230(&v6, v2, v3);\n    v4 = (_QWORD *)(a1 + 520);\n    if ( *(_QWORD *)(a1 + 544) > 0xFu )\n      v4 = (_QWORD *)*v4;\n    v5 = FLAlertLayer::create(\n           0,\n           (int)v4,\n           (__int64)&v6,\n           (__int64)\"OK\",\n           0,\n           1138163712,\n           *(_BYTE *)(a1 + 588),\n           0,\n           *(_DWORD *)(a1 + 584));\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5);\n  }\n}", "assembly": "; \n; InfoAlertButton::activate from 0x1403cd830 to 0x1403cd906 (214 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140784ea8\n; > <???> @ 0x140924638\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:31:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403cd830\nsub     rsp, 70h                                                       ; +0x2, 0x1403cd832\ncmp     byte ptr [rcx+159h], 0                                         ; +0x6, 0x1403cd836\nmov     rbx, rcx                                                       ; +0xd, 0x1403cd83d\njz      loc_1403CD900                                                  ; +0x10, 0x1403cd840\nlea     rdx, [rcx+228h]                                                ; +0x16, 0x1403cd846\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x1d, 0x1403cd84d\njbe     short loc_1403CD857                                            ; +0x22, 0x1403cd852\nmov     rdx, [rdx]                                                     ; +0x24, 0x1403cd854\nxorps   xmm0, xmm0                                                     ; +0x27, 0x1403cd857\nmov     [rsp+78h+var_18], 0                                            ; +0x2a, 0x1403cd85a\nmovups  [rsp+78h+var_28], xmm0                                         ; +0x33, 0x1403cd863\nmov     [rsp+78h+var_10], 0                                            ; +0x38, 0x1403cd868\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x41, 0x1403cd871\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x1403cd878\ninc     r8                                                             ; +0x50, 0x1403cd880\ncmp     byte ptr [rdx+r8], 0                                           ; +0x53, 0x1403cd883\njnz     short loc_1403CD880                                            ; +0x58, 0x1403cd888\nlea     rcx, [rsp+78h+var_28]                                          ; +0x5a, 0x1403cd88a\ncall    sub_14003D230                                                  ; +0x5f, 0x1403cd88f\nlea     rdx, [rbx+208h]                                                ; +0x64, 0x1403cd894\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x6b, 0x1403cd89b\njbe     short loc_1403CD8A5                                            ; +0x70, 0x1403cd8a0\nmov     rdx, [rdx]                                                     ; +0x72, 0x1403cd8a2\nmovss   xmm0, dword ptr [rbx+248h]                                     ; +0x75, 0x1403cd8a5\nlea     r9, aOk; \"OK\"                                                  ; +0x7d, 0x1403cd8ad\nmovzx   eax, byte ptr [rbx+24Ch]                                       ; +0x84, 0x1403cd8b4\nlea     r8, [rsp+78h+var_28]                                           ; +0x8b, 0x1403cd8bb\nmovss   [rsp+78h+var_38], xmm0                                         ; +0x90, 0x1403cd8c0\nxorps   xmm1, xmm1                                                     ; +0x96, 0x1403cd8c6\nmovss   xmm0, cs:dword_140835A2C                                       ; +0x99, 0x1403cd8c9\nxor     ecx, ecx                                                       ; +0xa1, 0x1403cd8d1\nmovss   [rsp+78h+var_40], xmm1                                         ; +0xa3, 0x1403cd8d3\nmov     [rsp+78h+var_48], al                                           ; +0xa9, 0x1403cd8d9\nmovss   [rsp+78h+var_50], xmm0                                         ; +0xad, 0x1403cd8dd\nmov     [rsp+78h+var_58], 0                                            ; +0xb3, 0x1403cd8e3\ncall    FLAlertLayer__create                                           ; +0xbc, 0x1403cd8ec\nmov     rcx, [rax]                                                     ; +0xc1, 0x1403cd8f1\nmov     rdx, [rcx+428h]                                                ; +0xc4, 0x1403cd8f4\nmov     rcx, rax                                                       ; +0xcb, 0x1403cd8fb\ncall    rdx                                                            ; +0xce, 0x1403cd8fe\nadd     rsp, 70h                                                       ; +0xd0, 0x1403cd900\npop     rbx                                                            ; +0xd4, 0x1403cd904\nretn                                                                   ; +0xd5, 0x1403cd905", "xrefs": ["<???> @ 0x140784ea8", "<???> @ 0x140924638"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}