{"type": "func", "start": 3889884, "end": 3889984, "name": "EditLevelLayer::onGuidelines", "pseudocode": "// \n// EditLevelLayer::onGuidelines from 0x3b5adc to 0x3b5b40 (100 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 EditLevelLayer::onGuidelines(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r6\n  _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584(\n    (int)v4,\n    \"Hateful, abusive, or otherwise inappropriate content, whether it is in the level, name, or description may lead to <\"\n    \"cr>deletion</c>. The same applies to levels abusing cheats or exploits. Stealing assets from other levels is <co>dis\"\n    \"couraged</c> and may stop a level from being rated depending on the context, severity, credit, and more. Levels veri\"\n    \"fied with hacks cannot be rated.\\n\"\n    \"<cy>These guidelines and their enforcement are entirely at RobTop's discretion.</c>\");\n  v3 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)\"Upload Guidelines\", (int)v4, (int)\"OK\", 0, 380.0);\n  sub_774008(v4);\n  v3->show(v3);\n}", "assembly": "; \n; EditLevelLayer::onGuidelines from 0x3b5adc to 0x3b5b40 (100 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, 0x3b5adc\nSUB             SP, SP, #0x18                                          ; +0x2, 0x3b5ade\nLDR             R4, =(__stack_chk_guard_ptr - 0x3B5AEC)                ; +0x4, 0x3b5ae0\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x3b5ae2\nLDR             R1, =(aHatefulAbusive - 0x3B5AF2); \"Hateful, abusive, or otherwise inapprop\"... ; +0x8, 0x3b5ae4\nMOV             R6, R0                                                 ; +0xa, 0x3b5ae6\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3b5ae8\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3b5aea\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x3b5aec\nADD             R1, PC; \"Hateful, abusive, or otherwise inapprop\"...   ; +0x12, 0x3b5aee\nMOV             R0, R5; int                                            ; +0x14, 0x3b5af0\nLDR             R3, [R4]                                               ; +0x16, 0x3b5af2\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x3b5af4\nBL              sub_776584                                             ; +0x1a, 0x3b5af6\nMOVS            R3, #0                                                 ; +0x1e, 0x3b5afa\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x20, 0x3b5afc\nLDR             R3, flt_3B5B40                                         ; +0x22, 0x3b5afe\nADD.W           R0, R6, #0x140; int                                    ; +0x24, 0x3b5b00\nLDR             R1, =(aUploadGuidelin - 0x3B5B0E); \"Upload Guidelines\" ; +0x28, 0x3b5b04\nMOV             R2, R5; int                                            ; +0x2a, 0x3b5b06\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x2c, 0x3b5b08\nADD             R1, PC; \"Upload Guidelines\"                            ; +0x2e, 0x3b5b0a\nLDR             R3, =(aOk - 0x3B5B12); \"OK\"                            ; +0x30, 0x3b5b0c\nADD             R3, PC; \"OK\"                                           ; +0x32, 0x3b5b0e\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x34, 0x3b5b10\nMOV             R6, R0                                                 ; +0x38, 0x3b5b14\nMOV             R0, R5                                                 ; +0x3a, 0x3b5b16\nBL              sub_774008                                             ; +0x3c, 0x3b5b18\nLDR             R3, [R6]                                               ; +0x40, 0x3b5b1c\nMOV             R0, R6                                                 ; +0x42, 0x3b5b1e\nLDR.W           R3, [R3,#0x284]                                        ; +0x44, 0x3b5b20\nBLX             R3                                                     ; +0x48, 0x3b5b24\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x4a, 0x3b5b26\nLDR             R3, [R4]                                               ; +0x4c, 0x3b5b28\nCMP             R2, R3                                                 ; +0x4e, 0x3b5b2a\nBEQ             loc_3B5B3C                                             ; +0x50, 0x3b5b2c\nBLX             __stack_chk_fail                                       ; +0x52, 0x3b5b2e\nMOV             R0, R5                                                 ; +0x56, 0x3b5b32\nBL              sub_774008                                             ; +0x58, 0x3b5b34\nBL              __cxa_end_cleanup                                      ; +0x5c, 0x3b5b38\nADD             SP, SP, #0x18                                          ; +0x60, 0x3b5b3c\nPOP             {R4-R6,PC}                                             ; +0x62, 0x3b5b3e", "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"}