{"type": "func", "start": 4295483524, "end": 4295483620, "name": "FindBPMLayer::create", "pseudocode": "// \n// FindBPMLayer::create from 0x10007e084 to 0x10007e0e4 (96 bytes)\n// \n// 1 xrefs:\n// > SongInfoLayer::onBPM @ 0x1003a8880\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\nFindBPMLayer *__fastcall FindBPMLayer::create(int a1)\n{\n  FindBPMLayer *v2; // x19\n\n  v2 = (FindBPMLayer *)operator new(0x2F8u);\n  sub_10007E4A8();\n  if ( FindBPMLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(FindBPMLayer *))v2->~FindBPMLayer_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; FindBPMLayer::create from 0x10007e084 to 0x10007e0e4 (96 bytes)\n; \n; 1 xrefs:\n; > SongInfoLayer::onBPM @ 0x1003a8880\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, 0x10007e084\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10007e088\nADD             X29, SP, #0x10                                         ; +0x8, 0x10007e08c\nMOV             X20, X0                                                ; +0xc, 0x10007e090\nMOV             W0, #0x2F8; __sz                                       ; +0x10, 0x10007e094\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x10007e098\nMOV             X19, X0                                                ; +0x18, 0x10007e09c\nBL              sub_10007E4A8                                          ; +0x1c, 0x10007e0a0\nMOV             X0, X19                                                ; +0x20, 0x10007e0a4\nMOV             X1, X20                                                ; +0x24, 0x10007e0a8\nBL              FindBPMLayer__init                                     ; +0x28, 0x10007e0ac\nCBZ             W0, loc_10007E0C0                                      ; +0x2c, 0x10007e0b0\nMOV             X0, X19                                                ; +0x30, 0x10007e0b4\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x10007e0b8\nB               loc_10007E0D4                                          ; +0x38, 0x10007e0bc\nLDR             X8, [X19]                                              ; +0x3c, 0x10007e0c0\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x10007e0c4\nMOV             X0, X19                                                ; +0x44, 0x10007e0c8\nBLR             X8                                                     ; +0x48, 0x10007e0cc\nMOV             X19, #0                                                ; +0x4c, 0x10007e0d0\nMOV             X0, X19                                                ; +0x50, 0x10007e0d4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10007e0d8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10007e0dc\nRET                                                                    ; +0x5c, 0x10007e0e0", "xrefs": ["SongInfoLayer::onBPM @ 0x1003a8880"], "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"}