{"type": "func", "start": 4296436996, "end": 4296437144, "name": "AccountLayer::FLAlert_Clicked", "pseudocode": "// \n// AccountLayer::FLAlert_Clicked from 0x100166d04 to 0x100166d98 (148 bytes)\n// \n// 2 xrefs:\n// > sub_100166D98 @ 0x100166d9c\n// > <???> @ 0x10079c350\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\nvoid __fastcall AccountLayer::FLAlert_Clicked(AccountLayer *a1, FLAlertLayer *a2, bool a3)\n{\n  _BOOL4 v3; // w20\n  int v5; // w0\n  cocos2d::CCApplication *v7; // x0\n\n  v3 = a3;\n  v5 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2);\n  if ( v5 == 5 )\n  {\n    if ( v3 )\n    {\n      v7 = cocos2d::CCApplication::sharedApplication();\n      ((void (__fastcall *)(cocos2d::CCApplication *, const char *))v7->openURL)(\n        v7,\n        \"https://www.boomlings.com/database/accounts/accountManagement.php\");\n    }\n  }\n  else if ( v5 == 2 )\n  {\n    if ( v3 )\n      AccountLayer::doSync(a1);\n  }\n  else if ( v5 == 1 && v3 )\n  {\n    AccountLayer::doBackup(a1);\n  }\n}", "assembly": "; \n; AccountLayer::FLAlert_Clicked from 0x100166d04 to 0x100166d98 (148 bytes)\n; \n; 2 xrefs:\n; > sub_100166D98 @ 0x100166d9c\n; > <???> @ 0x10079c350\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100166d04\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100166d08\nADD             X29, SP, #0x10                                         ; +0x8, 0x100166d0c\nMOV             X20, X2                                                ; +0xc, 0x100166d10\nMOV             X19, X0                                                ; +0x10, 0x100166d14\nLDR             X8, [X1]                                               ; +0x14, 0x100166d18\nLDR             X8, [X8,#0x40]                                         ; +0x18, 0x100166d1c\nMOV             X0, X1                                                 ; +0x1c, 0x100166d20\nBLR             X8                                                     ; +0x20, 0x100166d24\nCMP             W0, #5                                                 ; +0x24, 0x100166d28\nB.EQ            loc_100166D68                                          ; +0x28, 0x100166d2c\nCMP             W0, #2                                                 ; +0x2c, 0x100166d30\nB.EQ            loc_100166D54                                          ; +0x30, 0x100166d34\nCMP             W0, #1                                                 ; +0x34, 0x100166d38\nCCMP            W20, #0, #4, EQ                                        ; +0x38, 0x100166d3c\nB.EQ            loc_100166D8C                                          ; +0x3c, 0x100166d40\nMOV             X0, X19                                                ; +0x40, 0x100166d44\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x100166d48\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x100166d4c\nB               AccountLayer__doBackup                                 ; +0x4c, 0x100166d50\nCBZ             W20, loc_100166D8C                                     ; +0x50, 0x100166d54\nMOV             X0, X19                                                ; +0x54, 0x100166d58\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x100166d5c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x100166d60\nB               AccountLayer__doSync                                   ; +0x60, 0x100166d64\nCBZ             W20, loc_100166D8C                                     ; +0x64, 0x100166d68\nBL              cocos2d__CCApplication__sharedApplication              ; +0x68, 0x100166d6c\nLDR             X8, [X0]                                               ; +0x6c, 0x100166d70\nLDR             X2, [X8,#0x60]                                         ; +0x70, 0x100166d74\nADRL            X1, aHttpsWwwBoomli_54; \"https://www.boomlings.com/database/acco\"... ; +0x74, 0x100166d78\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x7c, 0x100166d80\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x80, 0x100166d84\nBR              X2                                                     ; +0x84, 0x100166d88\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x100166d8c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x8c, 0x100166d90\nRET                                                                    ; +0x90, 0x100166d94", "xrefs": ["sub_100166D98 @ 0x100166d9c", "<???> @ 0x10079c350"], "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"}