{"type": "func", "start": 3180088, "end": 3180182, "name": "CreateGuidelinesLayer::onInfo", "pseudocode": "// \n// CreateGuidelinesLayer::onInfo from 0x308638 to 0x308696 (94 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 CreateGuidelinesLayer::onInfo(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v2; // r6\n  _BYTE v3[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584(\n    (int)v3,\n    \"Guidelines can be used to make it easier to syncronize music and gameplay. Create your own custom song guidelines us\"\n    \"ing this interface. Tap on record to start recording, then tap on the screen to create markings. Press on the stop b\"\n    \"utton to stop recording and save your created guidelines.\");\n  v2 = FLAlertLayer::create(0, (int)\"Guidelines\", (int)v3, (int)\"OK\", 0, 400.0);\n  sub_774008(v3);\n  v2->show(v2);\n}", "assembly": "; \n; CreateGuidelinesLayer::onInfo from 0x308638 to 0x308696 (94 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, 0x308638\nSUB             SP, SP, #0x18                                          ; +0x2, 0x30863a\nLDR             R4, =(__stack_chk_guard_ptr - 0x308648)                ; +0x4, 0x30863c\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x30863e\nLDR             R1, =(aGuidelinesCanB - 0x30864E); \"Guidelines can be used to make it easie\"... ; +0x8, 0x308640\nADD             R2, SP, #0x18+var_C                                    ; +0xa, 0x308642\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x308644\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x308646\nMOV             R0, R5; int                                            ; +0x10, 0x308648\nADD             R1, PC; \"Guidelines can be used to make it easie\"...   ; +0x12, 0x30864a\nLDR             R3, [R4]                                               ; +0x14, 0x30864c\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x30864e\nBL              sub_776584                                             ; +0x18, 0x308650\nLDR             R3, flt_308698                                         ; +0x1c, 0x308654\nMOVS            R0, #0; int                                            ; +0x1e, 0x308656\nLDR             R1, =(aGuidelines - 0x308664); \"Guidelines\"            ; +0x20, 0x308658\nMOV             R2, R5; int                                            ; +0x22, 0x30865a\nSTR             R0, [SP,#0x18+var_18]; int                             ; +0x24, 0x30865c\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x26, 0x30865e\nADD             R1, PC; \"Guidelines\"                                   ; +0x28, 0x308660\nLDR             R3, =(aOk - 0x308668); \"OK\"                            ; +0x2a, 0x308662\nADD             R3, PC; \"OK\"                                           ; +0x2c, 0x308664\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x2e, 0x308666\nMOV             R6, R0                                                 ; +0x32, 0x30866a\nMOV             R0, R5                                                 ; +0x34, 0x30866c\nBL              sub_774008                                             ; +0x36, 0x30866e\nLDR             R3, [R6]                                               ; +0x3a, 0x308672\nMOV             R0, R6                                                 ; +0x3c, 0x308674\nLDR.W           R3, [R3,#0x284]                                        ; +0x3e, 0x308676\nBLX             R3                                                     ; +0x42, 0x30867a\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x44, 0x30867c\nLDR             R3, [R4]                                               ; +0x46, 0x30867e\nCMP             R2, R3                                                 ; +0x48, 0x308680\nBEQ             loc_308692                                             ; +0x4a, 0x308682\nBLX             __stack_chk_fail                                       ; +0x4c, 0x308684\nMOV             R0, R5                                                 ; +0x50, 0x308688\nBL              sub_774008                                             ; +0x52, 0x30868a\nBL              __cxa_end_cleanup                                      ; +0x56, 0x30868e\nADD             SP, SP, #0x18                                          ; +0x5a, 0x308692\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x308694", "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"}