; ; CreateGuidelinesLayer::toggleItems from 0x308d30 to 0x308d88 (88 bytes) ; ; 4 xrefs: ; > CreateGuidelinesLayer::onStop @ 0x308d9a ; > CreateGuidelinesLayer::onRecord @ 0x308e08 ; > CreateGuidelinesLayer::init @ 0x30986a ; > FindBPMLayer::init @ 0x309b0e ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R3-R7,LR} ; +0x0, 0x308d30 EOR.W R7, R1, #1 ; +0x2, 0x308d32 MOV R5, R0 ; +0x6, 0x308d36 MOV R6, R1 ; +0x8, 0x308d38 MOVS R4, #0 ; +0xa, 0x308d3a LDR.W R0, [R5,#0x1FC]; this ; +0xc, 0x308d3c BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x308d40 CMP R4, R0 ; +0x14, 0x308d44 BCS loc_308D60 ; +0x16, 0x308d46 MOV R1, R4; unsigned int ; +0x18, 0x308d48 LDR.W R0, [R5,#0x1FC]; this ; +0x1a, 0x308d4a BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e, 0x308d4e MOV R1, R7 ; +0x22, 0x308d52 ADDS R4, #1 ; +0x24, 0x308d54 LDR R3, [R0] ; +0x26, 0x308d56 LDR.W R3, [R3,#0xA4] ; +0x28, 0x308d58 BLX R3 ; +0x2c, 0x308d5c B loc_308D3C ; +0x2e, 0x308d5e MOVS R4, #0 ; +0x30, 0x308d60 LDR.W R0, [R5,#0x200]; this ; +0x32, 0x308d62 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x36, 0x308d66 CMP R4, R0 ; +0x3a, 0x308d6a BCS locret_308D86 ; +0x3c, 0x308d6c MOV R1, R4; unsigned int ; +0x3e, 0x308d6e LDR.W R0, [R5,#0x200]; this ; +0x40, 0x308d70 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x308d74 MOV R1, R6 ; +0x48, 0x308d78 ADDS R4, #1 ; +0x4a, 0x308d7a LDR R3, [R0] ; +0x4c, 0x308d7c LDR.W R3, [R3,#0xA4] ; +0x4e, 0x308d7e BLX R3 ; +0x52, 0x308d82 B loc_308D62 ; +0x54, 0x308d84 POP {R3-R7,PC} ; +0x56, 0x308d86