{"type": "func", "start": 4612584, "end": 4612696, "name": "AccountLayer::onHelp", "pseudocode": "// \n// AccountLayer::onHelp from 0x4661e8 to 0x466258 (112 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\nvoid AccountLayer::onHelp(AccountLayer *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r5\n  _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584((int)v4, \"Open the account help page?\");\n  v3 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)\"Help\", (int)v4, (int)\"Cancel\", (int)\"Yes\", 300.0);\n  sub_774008(v4);\n  v3->setTag(v3, 5);\n  v3->show(v3);\n}", "assembly": "; \n; AccountLayer::onHelp from 0x4661e8 to 0x466258 (112 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            {R4-R6,LR}                                             ; +0x0, 0x4661e8\nSUB             SP, SP, #0x18                                          ; +0x2, 0x4661ea\nLDR             R6, =(__stack_chk_guard_ptr - 0x4661F8)                ; +0x4, 0x4661ec\nADD             R4, SP, #0x18+var_8                                    ; +0x6, 0x4661ee\nLDR             R1, =(aOpenTheAccount - 0x4661FE); \"Open the account help page?\" ; +0x8, 0x4661f0\nMOV             R5, R0                                                 ; +0xa, 0x4661f2\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4661f4\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x4661f6\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x4661f8\nADD             R1, PC; \"Open the account help page?\"                  ; +0x12, 0x4661fa\nMOV             R0, R4; int                                            ; +0x14, 0x4661fc\nLDR             R3, [R6]                                               ; +0x16, 0x4661fe\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x466200\nBL              sub_776584                                             ; +0x1a, 0x466202\nLDR             R3, =(aYes - 0x466214); \"Yes\"                          ; +0x1e, 0x466206\nADD.W           R0, R5, #0x1EC; int                                    ; +0x20, 0x466208\nLDR             R1, =(aHelp - 0x46621A); \"Help\"                        ; +0x24, 0x46620c\nMOV             R2, R4; int                                            ; +0x26, 0x46620e\nADD             R3, PC; \"Yes\"                                          ; +0x28, 0x466210\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x466212\nLDR             R3, flt_466258                                         ; +0x2c, 0x466214\nADD             R1, PC; \"Help\"                                         ; +0x2e, 0x466216\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x466218\nLDR             R3, =(aCancel - 0x466220); \"Cancel\"                    ; +0x32, 0x46621a\nADD             R3, PC; \"Cancel\"                                       ; +0x34, 0x46621c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x46621e\nMOV             R5, R0                                                 ; +0x3a, 0x466222\nMOV             R0, R4                                                 ; +0x3c, 0x466224\nBL              sub_774008                                             ; +0x3e, 0x466226\nLDR             R3, [R5]                                               ; +0x42, 0x46622a\nMOV             R0, R5                                                 ; +0x44, 0x46622c\nMOVS            R1, #5                                                 ; +0x46, 0x46622e\nLDR             R3, [R3,#0x24]                                         ; +0x48, 0x466230\nBLX             R3                                                     ; +0x4a, 0x466232\nLDR             R3, [R5]                                               ; +0x4c, 0x466234\nMOV             R0, R5                                                 ; +0x4e, 0x466236\nLDR.W           R3, [R3,#0x284]                                        ; +0x50, 0x466238\nBLX             R3                                                     ; +0x54, 0x46623c\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x56, 0x46623e\nLDR             R3, [R6]                                               ; +0x58, 0x466240\nCMP             R2, R3                                                 ; +0x5a, 0x466242\nBEQ             loc_466254                                             ; +0x5c, 0x466244\nBLX             __stack_chk_fail                                       ; +0x5e, 0x466246\nMOV             R0, R4                                                 ; +0x62, 0x46624a\nBL              sub_774008                                             ; +0x64, 0x46624c\nBL              __cxa_end_cleanup                                      ; +0x68, 0x466250\nADD             SP, SP, #0x18                                          ; +0x6c, 0x466254\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x466256", "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"}