{"type": "func", "start": 4296362484, "end": 4296362628, "name": "BoomScrollLayer::create", "pseudocode": "// \n// BoomScrollLayer::create from 0x1001549f4 to 0x100154a84 (144 bytes)\n// \n// 5 xrefs:\n// > BoomScrollLayer::create_1 @ 0x100154d34\n// > GauntletSelectLayer::setupGauntlets @ 0x100255104\n// > SecretRewardsLayer::init @ 0x100384758\n// > SecretRewardsLayer::createSecondaryLayer @ 0x100385dd0\n// > LevelSelectLayer::init @ 0x100482620\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:59:41 +0000\n// \n\nvoid *__fastcall BoomScrollLayer::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)\n{\n  void *v10; // x19\n\n  v10 = operator new(0x278u);\n  BoomScrollLayer::BoomScrollLayer();\n  if ( (unsigned int)BoomScrollLayer::init(v10, a1, a2, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v10);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v10 + 16LL))(v10);\n    return nullptr;\n  }\n  return v10;\n}", "assembly": "; \n; BoomScrollLayer::create from 0x1001549f4 to 0x100154a84 (144 bytes)\n; \n; 5 xrefs:\n; > BoomScrollLayer::create_1 @ 0x100154d34\n; > GauntletSelectLayer::setupGauntlets @ 0x100255104\n; > SecretRewardsLayer::init @ 0x100384758\n; > SecretRewardsLayer::createSecondaryLayer @ 0x100385dd0\n; > LevelSelectLayer::init @ 0x100482620\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:59:41 +0000\n; \nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x1001549f4\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001549f8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001549fc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100154a00\nADD             X29, SP, #0x30                                         ; +0x10, 0x100154a04\nMOV             X20, X4                                                ; +0x14, 0x100154a08\nMOV             X21, X3                                                ; +0x18, 0x100154a0c\nMOV             X22, X2                                                ; +0x1c, 0x100154a10\nMOV             X23, X1                                                ; +0x20, 0x100154a14\nMOV             X24, X0                                                ; +0x24, 0x100154a18\nMOV             W0, #0x278; __sz                                       ; +0x28, 0x100154a1c\nBL              __Znwm; operator new(ulong)                            ; +0x2c, 0x100154a20\nMOV             X19, X0                                                ; +0x30, 0x100154a24\nBL              BoomScrollLayer__BoomScrollLayer                       ; +0x34, 0x100154a28\nMOV             X0, X19                                                ; +0x38, 0x100154a2c\nMOV             X1, X24                                                ; +0x3c, 0x100154a30\nMOV             X2, X23                                                ; +0x40, 0x100154a34\nMOV             X3, X22                                                ; +0x44, 0x100154a38\nMOV             X4, X21                                                ; +0x48, 0x100154a3c\nMOV             X5, X20                                                ; +0x4c, 0x100154a40\nBL              BoomScrollLayer__init                                  ; +0x50, 0x100154a44\nCBZ             W0, loc_100154A58                                      ; +0x54, 0x100154a48\nMOV             X0, X19                                                ; +0x58, 0x100154a4c\nBL              cocos2d__CCObject__autorelease                         ; +0x5c, 0x100154a50\nB               loc_100154A6C                                          ; +0x60, 0x100154a54\nLDR             X8, [X19]                                              ; +0x64, 0x100154a58\nLDR             X8, [X8,#0x10]                                         ; +0x68, 0x100154a5c\nMOV             X0, X19                                                ; +0x6c, 0x100154a60\nBLR             X8                                                     ; +0x70, 0x100154a64\nMOV             X19, #0                                                ; +0x74, 0x100154a68\nMOV             X0, X19                                                ; +0x78, 0x100154a6c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x100154a70\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x100154a74\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x84, 0x100154a78\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x88, 0x100154a7c\nRET                                                                    ; +0x8c, 0x100154a80", "xrefs": ["BoomScrollLayer::create_1 @ 0x100154d34", "GauntletSelectLayer::setupGauntlets @ 0x100255104", "SecretRewardsLayer::init @ 0x100384758", "SecretRewardsLayer::createSecondaryLayer @ 0x100385dd0", "LevelSelectLayer::init @ 0x100482620"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}