{"type": "func", "start": 5281360, "end": 5281488, "name": "EditorPauseLayer::onHelp", "pseudocode": "// \n// EditorPauseLayer::onHelp from 0x509650 to 0x5096d0 (128 bytes)\n// \n// 0 xrefs:\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:51:26 +0000\n// \n\nint __fastcall EditorPauseLayer::onHelp(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r4\n  int v3; // r5\n  int *v4; // r5\n  int v5[3]; // [sp+8h] [bp-10h] BYREF\n\n  v2 = *(unsigned __int8 *)(this + 452);\n  v3 = this;\n  if ( !*(_BYTE *)(this + 452) )\n  {\n    v5[0] = *(unsigned __int8 *)(this + 452);\n    v5[1] = v2;\n    v5[2] = v2;\n    std::string::__init(v5, \"Open the <cy>Editor Guide</c> in your browser?\", 0x2Eu);\n    v4 = FLAlertLayer::create(\n           v3 + 444,\n           (cocos2d::CCLabelBMFont *)\"Editor Guide\",\n           (int)v5,\n           (ButtonSprite *)\"NO\",\n           (ButtonSprite *)\"YES\",\n           300.0);\n    std::string::~string((int)v5);\n    (*(void (__fastcall **)(int *, int))(*v4 + 36))(v4, 4);\n    return (*(int (__fastcall **)(int *))(*v4 + 656))(v4);\n  }\n  return this;\n}", "assembly": "; \n; EditorPauseLayer::onHelp from 0x509650 to 0x5096d0 (128 bytes)\n; \n; 0 xrefs:\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:51:26 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x509658)                ; +0x0, 0x509650\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x509652\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x509654\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x509656\nLDRB.W          R4, [R0,#0x1C4]                                        ; +0x8, 0x509658\nSUB             SP, SP, #0x18                                          ; +0xc, 0x50965c\nLDR             R2, [R3]                                               ; +0xe, 0x50965e\nMOV             R5, R0                                                 ; +0x10, 0x509660\nMOV             R6, R3                                                 ; +0x12, 0x509662\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x14, 0x509664\nCBNZ            R4, loc_5096C0                                         ; +0x16, 0x509666\nSTR             R4, [SP,#0x18+var_10]                                  ; +0x18, 0x509668\nMOVS            R2, #0x2E ; '.'                                        ; +0x1a, 0x50966a\nSTR             R4, [SP,#0x18+var_C]                                   ; +0x1c, 0x50966c\nSTR             R4, [SP,#0x18+var_8]                                   ; +0x1e, 0x50966e\nADD             R4, SP, #0x18+var_10                                   ; +0x20, 0x509670\nLDR             R1, =(aOpenTheCyEdito - 0x50967A); \"Open the <cy>Editor Guide</c> in your b\"... ; +0x22, 0x509672\nMOV             R0, R4                                                 ; +0x24, 0x509674\nADD             R1, PC; \"Open the <cy>Editor Guide</c> in your b\"...   ; +0x26, 0x509676\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x28, 0x509678\nLDR             R3, =(aYes_0 - 0x509688); \"YES\"                        ; +0x2c, 0x50967c\nLDR             R1, =(aEditorGuide - 0x50968E); \"Editor Guide\"         ; +0x2e, 0x50967e\nADD.W           R0, R5, #0x1BC; int                                    ; +0x30, 0x509680\nADD             R3, PC; \"YES\"                                          ; +0x34, 0x509684\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x36, 0x509686\nLDR             R3, flt_5096D0                                         ; +0x38, 0x509688\nADD             R1, PC; \"Editor Guide\"                                 ; +0x3a, 0x50968a\nMOV             R2, R4; int                                            ; +0x3c, 0x50968c\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x3e, 0x50968e\nLDR             R3, =(aNo_0 - 0x509696); \"NO\"                          ; +0x40, 0x509690\nADD             R3, PC; \"NO\"                                           ; +0x42, 0x509692\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x44, 0x509694\nMOV             R5, R0                                                 ; +0x48, 0x509698\nMOV             R0, R4                                                 ; +0x4a, 0x50969a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x50969c\nLDR             R3, [R5]                                               ; +0x50, 0x5096a0\nMOV             R0, R5                                                 ; +0x52, 0x5096a2\nMOVS            R1, #4                                                 ; +0x54, 0x5096a4\nLDR             R3, [R3,#0x24]                                         ; +0x56, 0x5096a6\nBLX             R3                                                     ; +0x58, 0x5096a8\nLDR             R3, [R5]                                               ; +0x5a, 0x5096aa\nMOV             R0, R5                                                 ; +0x5c, 0x5096ac\nLDR.W           R3, [R3,#0x290]                                        ; +0x5e, 0x5096ae\nBLX             R3                                                     ; +0x62, 0x5096b2\nB               loc_5096C0                                             ; +0x64, 0x5096b4\nMOV             R0, R4                                                 ; +0x66, 0x5096b6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x68, 0x5096b8\nBL              __cxa_end_cleanup                                      ; +0x6c, 0x5096bc\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x70, 0x5096c0\nLDR             R3, [R6]                                               ; +0x72, 0x5096c2\nCMP             R2, R3                                                 ; +0x74, 0x5096c4\nBEQ             loc_5096CC                                             ; +0x76, 0x5096c6\nBLX             __stack_chk_fail                                       ; +0x78, 0x5096c8\nADD             SP, SP, #0x18                                          ; +0x7c, 0x5096cc\nPOP             {R4-R6,PC}                                             ; +0x7e, 0x5096ce", "xrefs": [], "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"}